/* Copyright (c) 2007  Peter Palotas
 *  
 *  This software is provided 'as-is', without any express or implied
 *  warranty. In no event will the authors be held liable for any damages
 *  arising from the use of this software.
 *  
 *  Permission is granted to anyone to use this software for any purpose,
 *  including commercial applications, and to alter it and redistribute it
 *  freely, subject to the following restrictions:
 *  
 *      1. The origin of this software must not be misrepresented; you must not
 *      claim that you wrote the original software. If you use this software
 *      in a product, an acknowledgment in the product documentation would be
 *      appreciated but is not required.
 *  
 *      2. Altered source versions must be plainly marked as such, and must not be
 *      misrepresented as being the original software.
 *  
 *      3. This notice may not be removed or altered from any source
 *      distribution.
 *  
 *  
 *  $Id$
 */
using System;
using System.Collections.Generic;
using System.Text;

namespace Plossum.Win32.SystemServices
{
    /// <summary>
    /// Specifies the type of a drive.
    /// </summary>
    public enum DriveTypes : int
    {
        /// <summary>
        /// The drive type cannot be determined.
        /// </summary>
        Unknown = (int)UnsafeNativeMethods.DRIVE_UNKNOWN,
        /// <summary>
        /// The root path is invalid; for example, there is no volume is mounted at the path.
        /// </summary>
        NoRootDir = (int)UnsafeNativeMethods.DRIVE_NO_ROOT_DIR,
        /// <summary>
        /// The drive has removable media; for example, a floppy drive, thumb drive, or flash card reader.
        /// </summary>
        Removable = (int)UnsafeNativeMethods.DRIVE_REMOVABLE,
        /// <summary>
        /// The drive has fixed media; for example, a hard drive or flash drive.
        /// </summary>
        Fixed = (int)UnsafeNativeMethods.DRIVE_FIXED,
        /// <summary>
        /// The drive is a remote (network) drive.
        /// </summary>
        Remote = (int)UnsafeNativeMethods.DRIVE_REMOTE,
        /// <summary>
        /// The drive is a CD-ROM drive.
        /// </summary>
        CDRom = (int)UnsafeNativeMethods.DRIVE_CDROM,
        /// <summary>
        /// The drive is a RAM disk.
        /// </summary>
        RamDisk = (int)UnsafeNativeMethods.DRIVE_RAMDISK
    }
}
